package com.ke.searchhouse.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 图片参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Image {
    /**
     * 文件路径
     */
    private String key;

    private int width = 100;

    private int height = 100;

    public Image(String path) {
        this.key = path;
    }

}
